package com.yyk.yiliao.bean;

import com.yyk.yiliao.bean.Recommsearch_Info;

import java.util.List;

/**
 * Created by Administrator on 2018/10/23 0023.
 *
 * 首页 预约挂号 医院----医生列表
 */

public class CommonRecommsearchInfo {
    @Override
    public String toString() {
        return "CommonRecommsearchInfo{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"did":21,"picture":"/upload/doctor/15327800743348.jpg","true_name":"郑心","doctorclinic":1,"title":"主任医师/教授","grade":2},{"did":19,"picture":"/upload/doctor/15327800067810.jpg","true_name":"王兴荣","doctorclinic":1,"title":"主任医师/教授","grade":1},{"did":17,"picture":"/upload/doctor/1532779888948.jpg","true_name":"杨春惠","doctorclinic":1,"title":"主任医师/教授","grade":1},{"did":16,"picture":"/upload/doctor/15327798426652.jpg","true_name":"孙自勤","doctorclinic":2,"title":"主任医师","grade":1},{"did":14,"picture":"/upload/doctor/15327797602874.jpg","true_name":"邢国宏","doctorclinic":1,"title":"副主任医师","grade":1},{"did":13,"picture":"/upload/doctor/15327797083103.jpg","true_name":"姜兆顺","doctorclinic":1,"title":"主任医师/副教授","grade":1},{"did":12,"picture":"/upload/doctor/1532779670805.jpg","true_name":"周芳","doctorclinic":2,"title":"主任医师","grade":1},{"did":11,"picture":"/upload/doctor/15327796214450.jpg","true_name":"张爱平","doctorclinic":1,"title":"主任医师/教授","grade":1}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "did=" + did +
                    ", picture='" + picture + '\'' +
                    ", true_name='" + true_name + '\'' +
                    ", doctorclinic=" + doctorclinic +
                    ", title='" + title + '\'' +
                    ", grade=" + grade +
                    '}';
        }

        /**
         * did : 21
         * picture : /upload/doctor/15327800743348.jpg
         * true_name : 郑心
         * doctorclinic : 1
         * title : 主任医师/教授
         * grade : 2
         */

        private int did;
        private String picture;
        private String true_name;
        private int doctorclinic;
        private String title;
        private int grade;

        public int getDid() {
            return did;
        }

        public void setDid(int did) {
            this.did = did;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public String getTrue_name() {
            return true_name;
        }

        public void setTrue_name(String true_name) {
            this.true_name = true_name;
        }

        public int getDoctorclinic() {
            return doctorclinic;
        }

        public void setDoctorclinic(int doctorclinic) {
            this.doctorclinic = doctorclinic;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getGrade() {
            return grade;
        }

        public void setGrade(int grade) {
            this.grade = grade;
        }
    }
}
